package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Food;

public interface FoodDao {
    int findCountByCode(String code);

    void edit(Food food);

    void add(Food food);

    Page<Food> selectByCondition(String queryString);

    void delete(Integer id);

    Food findById(Integer id);

    void update(Food food);
}
